package com.semanticweb.project.search.api;

import java.io.File;
import java.util.List;

public interface SearchAPI {

    boolean index(File indexDir, AbstractDocument doc);

    boolean index(AbstractDocument doc);

    List<String> search(File indexDir, String query, String field, int docCount);

    List<String> search(String query, String field);
}
